package com.itheima.test11;
/*
题目三
		请按以下要求编写程序：
		1).定义一个学员类，有以下属性：姓名、性别、年龄、分数
		  无参、全参构造方法，get/set方法
 */
public class Student {
    private String name;
    private String gender;
    private int age;
    private double score;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", score=" + score +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public Student(String name, String gender, int age, double score) {

        this.name = name;
        this.gender = gender;
        this.age = age;
        this.score = score;
    }

    public Student() {

    }
}
